#!/bin/sh

# PROVIDE: xmpppyirc
# REQUIRE: DAEMON

. /etc/rc.subr

name="xmpppyirc"
pidfile="/var/run/$name.pid"

command="/usr/local/lib/python2.4/site-packages/xmpp/irc/irc.py"
command_args="2>/dev/null >/dev/null &"
command_interpreter="/usr/local/bin/python2.4"
start_precmd="touch $pidfile && export PID=$pidfile"

load_rc_config $name
: ${xmpppyirc_enable="NO"}
run_rc_command "$1"
